{if $auth->check('knowbase/project_page_history/page_history')}
    <style>
        #content .control-sidebar{
            height: 100%;
            position: fixed;
            right: -500px;
            width: 500px;
            overflow: auto;
            padding-top: 0;
            box-shadow: 0 2px 8px 2px rgba(198,201,208,0.5);
            background-color: #fff;
        }
        #content .control-sidebar.control-sidebar-open{
            right: 0!important;
        }
        #history {
            width: 100%;
            height: 100%;
            overflow: hidden;
            border: 0px;
            position: absolute;
        }
    </style>
    <aside class="control-sidebar" >
        <iframe id="history" src="{$page_history_url|htmlentities}"></iframe></div>
    </aside>
{/if}
